package com.djx.plus;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author dingjunxiong
 * EnableEurekaClient 声明这是一个Eureka client
 */
@MapperScan(value= {"com.djx.plus.dao"})
@ServletComponentScan(value = "com.djx.plus")
@EnableEurekaClient
@SpringBootApplication
public class PlusApplication {

    public static void main(String[] args) {
        SpringApplication.run(PlusApplication.class, args);
    }

}
